/*
https://leetcode.cn/problems/airplane-seat-assignment-probability/solution/fei-ji-zuo-wei-fen-pei-gai-lu-by-leetcod-gyw4/
 */
public class Solution1227 {
    public double nthPersonGetsNthSeat(int n) {
        return n==1?1:0.5;
    }

    public static void main(String[] args) {
        System.out.println(new Solution1227().nthPersonGetsNthSeat(2));
    }
}
